package com.shopowner.service;



import com.shopowner.dto.DTO;
import com.shopowner.entity.Store;
import com.shopowner.page.PageInfo;


public interface StoreService {
    /**
     * 查询全部店长
     * @return
     */
    public DTO<Store> getAllStores() throws Exception;
    /**
     * 删除店长
     * @return
     */
    public DTO<Store> deleteStoreByStno(String stno) throws Exception;
    /**
     * 修改店长
     * @return
     */
    public DTO<Store> updateStoreByStno(Store store) throws Exception;
    /**
     * 增加店长
     * @return
     */
    public DTO<Store> addStore(Store store) throws Exception;
    /**
     * 分页查询店长
     * @return
     */
    public DTO<Store> getStoreByPage(PageInfo pageInfo) throws Exception;
    /**
     * 查询家长附上儿童
     * @return
     */
    public DTO<Store> selectStoreWithCoach(String stno) throws Exception;
    /**
     * 查询门店带上店长
     * @return
     */
    public DTO<Store> selectStoreWithshopowner(String stno) throws Exception;

}
